NAME=		gomokuia

SRCS=		main.cpp		\
		IA.cpp			\
		Rules.cpp		\
		Socket.cpp

OBJS=		$(SRCS:.cpp=.o)

CC=		g++

CXXFLAGS=	-W -Wall -Wextra

RM=		rm -rf

$(NAME):	$(OBJS)
		$(CC) -o $(NAME) $(OBJS)

all:		$(NAME)

clean:
		$(RM) $(OBJS) *# *~

fclean:		clean
		$(RM) $(NAME)

re:		fclean $(NAME)

.PHONY:		all clean fclean re